import { Point } from './point.js'
import {Cirle} from './circle.js'

let heart_point = new Point(1,1)
for(let i = 0; i<10000000; i++){
    let x_tmp = Math.random()*2
    let y_tmp = Math.random()*2
    let point_tmp = new Point(x_tmp,y_tmp)
    if(Cirle.isPointInCirle(point_tmp)){
        count++
    }

}
console.log(count*4/1000000);